/* eslint-disable react/react-in-jsx-scope,react/jsx-props-no-multi-spaces,react/jsx-boolean-value,react/jsx-curly-brace-presence */
import { Component } from 'react';
import { Table } from 'antd';

class DataGrid extends Component {
  render() {
    const { dataSource, columns } = this.props;
    return <Table dataSource={dataSource} columns={columns} bordered={true} size={'small'} />;
  }
}

export default DataGrid;
